<template>
  <div class="device head-title">
    设备管理{{ deviceTypeList }}
  </div>
</template>

<script>
import { deviceType } from '@/api/device';
export default {
  data() {
    return {
      deviceTypeList: []
    }
  },
  methods: {
    getDeviceType(){
      deviceType().then(res=>{
        this.deviceTypeList = res.data;
      })
    }
  },
  mounted() {
    this.getDeviceType();
  }
}
</script>

<style>

</style>